package com.bwie.mapper;

import com.bwie.pojo.dto.ChargingDto;
import com.bwie.pojo.excel.ChargingExcel;
import com.bwie.pojo.po.Charging;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChargingMapper {

    Charging selectChargingById(@Param("parkId") Integer parkId, @Param("carType") Integer carType);

    List<Charging> getChahrging(ChargingDto chargingDto);

    void addCharging(Charging charging);

    List<ChargingExcel> selectListByIds(List<Integer> ids2);

    List<ChargingExcel> selectListAll();

    void batchAdd(@Param("list") List<Charging> list);
}
